import request from '@/utils/request'

// 获取单位部门
const GetMenudeptUrl = "/api/UserLogin/GetMenuTList"
export function GetMenudept(data) {
    return request({
        url: GetMenudeptUrl,
        method: "get"
    })
}

// 修改个人信息
const UpdateUserUrl = "/api/UserLogin/UpdateUser"
export function UpdateUser(data) {
    return request({

        url: UpdateUserUrl,
        method: "post",
        data
    })
}

// 退出
const LogOffUrl = "/api/Service/loginoff"
export function LogOut(data) {
    return request({

        url: LogOffUrl,
        method: "get",
        data
    })
}